<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<style type="text/css" >
    body{
        TEXT-ALIGN: center;
    }
</style>

</body>
<script src="js/dom.js"></script>
<script src="js/foreachin.js"></script>
<script src="js/game.js"></script>
<script src="js/method.js"></script>
<script src="js/normalizeEvent.js"></script>
<script src="js/registerEventHandler.js"></script>
<script src="js/Point.js"></script>
<script src="js/square.js"></script>
<script>
    function start(){
        var m=document.getElementById("hang").value;
        var n=document.getElementById("lie").value;
        var b=document.getElementById("lei").value;
        console.log(m);
        var game=new Game(m,n,b);


    }
    function restart(){
        location.replace(location.href);
    }

</script>
<div>

    列数<input type="text" id='hang' value="9" >
    行数<input type="text" id='lie' value="9" >
    雷数<input type="text" id='lei' value="10" >
    <input type='button' value="开始游戏" onClick="start()">
    <input type='button' value="重新开始" onClick="restart()">
</div>
<body>

</html>